//
//  TYZRouter+WorkOrder.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/2.
//

#import "TYZRouter+WorkOrder.h"

NSString * const kWDRouterTarget_WorkOrder  = @"WorkOrder";

//action_rootWorkOrder
NSString * const kWDRouterAction_getRootWorkOrder = @"rootWorkOrder";

// action_workOrderItem
NSString * const kWDRouterAction_getWorkOrderItem = @"workOrderItem";

// action_workOrderSearch 工单搜索
NSString * const kWDRouterAction_getWorkOrderSearch = @"workOrderSearch";


@implementation TYZRouter (WorkOrder)

/// 工单root
/// - Parameter params: params description
- (UIViewController *)getRootWorkOrderVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_WorkOrder action:kWDRouterAction_getRootWorkOrder params:params shouldCacheTarget:NO];
}

/// Description
/// - Parameter params: params description
- (UIViewController *)getWorkOrderItemVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_WorkOrder action:kWDRouterAction_getWorkOrderItem params:params shouldCacheTarget:NO];
}

/// 工单搜索
/// - Parameter params: params description
- (UIViewController *)getWorkOrderSearchVC:(NSDictionary *)params {
    return [[TYZRouter sharedInstance] performTarget:kWDRouterTarget_WorkOrder action:kWDRouterAction_getWorkOrderSearch params:params shouldCacheTarget:NO];
}
// action_workOrderSearch 工单搜索
//NSString * const kWDRouterAction_getWorkOrderSearch = @"workOrderSearch";

@end
